'Declaration
<NotNullAttribute()> Public Overloads Shared Function Create(Of TValue)( _ ByVal machineName As String, _ ByVal serverClass As String, _ ByVal itemId As String, _ ByVal requestedUpdateRate As Integer, _ ByVal percentDeadband As Single _ ) As DAItemChangedObservable(Of TValue)
'Usage
Dim machineName As String Dim serverClass As String Dim itemId As String Dim requestedUpdateRate As Integer Dim percentDeadband As Single Dim value As DAItemChangedObservable(Of TValue) value = DAItemChangedObservable.Create(Of TValue)(machineName, serverClass, itemId, requestedUpdateRate, percentDeadband)
[NotNull()] public static DAItemChangedObservable<TValue> Create<TValue>( string machineName, string serverClass, string itemId, int requestedUpdateRate, float percentDeadband )
[NotNull()] public: static DAItemChangedObservable<TValue^>^ Creategeneric<typename TValue> ( String^ machineName, String^ serverClass, String^ itemId, int requestedUpdateRate, float percentDeadband )
Parameters
- machineName
- Name of the machine (empty string for local computer).
- serverClass
- Contains ProgID of the OPC server.
- itemId
- ID of the item that will be subscribed to.
- requestedUpdateRate
- How often should the updates be received (number of milliseconds)
- percentDeadband
- The percent change in an item value that will cause an update
Type Parameters
- TValue
Return Value
Returns an observable for changes in the given OPC item.